clear
clc
N=10;
sum=0;
for i=1:N
emp_dist(i)=(0.026*i^2)/(N);
sum=sum+emp_dist(i);
end
emp_dist(N)=emp_dist(N)-0.0010;
sum

sum1=0;
for i=1:N

sum1=sum1+emp_dist(i);
end
sum1
emp_dist